<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.Enumeration"%>
<%
		if ("true".equals(request.getParameter("kill"))) {
		session.invalidate();
	}
	Enumeration e = session.getAttributeNames();
	while (e.hasMoreElements()) {
		Object obj = e.nextElement();
%>
<%=obj + ":" + session.getAttribute(obj.toString())%>
<hr>
<%
}
%>
<input type="button" value="销毁" onclick="location.href='?kill=true'">
